@charset "utf-8";
@hoverColor:#fff;
.trsall(@prop:all,@time:1s) {
  -webkit-transition: @prop @time;
  -moz-transition: @prop @time;
  -ms-transition: @prop @time;
  -o-transition: @prop @time;
  transition: @prop @time;
}
.show {
  visibility: visible;
}
.hide {
  visibility: hidden;
}
/*头部公用样式*/
.header {
  z-index: 999;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  .navbar {
    margin-bottom: 0px;
    border: none;
    border-radius: 0px;
    background: transparent;
    .container {
      a {
        color: #ececec !important;
      }
      a:hover {
        .trsall(all,.2s);
        color: @hoverColor !important;
      }
      .navbar-header {
        .navbar-toggle:hover, .navbar-toggle:focus {
          background-color: transparent;
        }
        .navbar-toggle {
          border-color: #ddd;
          span {
            background-color: #ddd;
          }
        }
        .navbar-toggle:hover {
          .trsall(all,.2s);
          border-color: @hoverColor;
          .icon-bar {
            .trsall(all,.2s);
            background-color: @hoverColor;
          }
        }
      }
      .navbar-collapse {
        border: none;
        box-shadow: inset 0 1px 0 rgba(0,0,0,.1);
        .navbar-nav>li.active>a {
          background-color: rgba(0, 0, 0, 0.2);
        }
      }
    }
  }
}
/*主体公用样式*/
.main {
  .section1 {
    position: relative;
    overflow: hidden;
    background-color: #03a9f4;
    .container {
      position: relative;
      height: 100%;
      display: flex;
      flex-wrap: wrap;
      align-content: center;
      .txt {
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        h3 {
          width: 100%;
          color: #fff;
        }
      }
      .info {
        position: relative;
        text-align: center;
        .topLine {
          position: absolute;
          left: 50%;
          top: 10px;
          width: 80%;
          height: 2px;
          background-color: #ECFFFB;
          transform: translateX(-50%);
        }
        p {
          line-height: 30px;
          color: #fff;
        }

      }
    }
  }
  .section2 {
    padding: 50px 0;
    background: #FDFFDF;
    h3.tittle {
      text-align: center;
      margin-bottom: 35px;
      color: #10A7AF;
    }
    .skill {
      position: relative;
      overflow: hidden;
      padding: 15px 0;
      .skill-middle {
        position: absolute;
        left: 0;
        top: 15px;
        width: 50px;
        height: 50px;
      }
      .skill-body {
        float: left;
        padding-left: 70px;
      }
    }
    .icon_html {
      background: url(../images/icon-html.jpg) no-repeat center/cover;
    }
    .icon_css {
      background: url(../images/icon-css.jpg) no-repeat center/cover;
    }
    .icon-angular {
      background: url(../images/icon-angular.jpg) no-repeat center/cover;
    }
    .icon-nodejs {
      background: url(../images/icon-nodejs.jpg) no-repeat center/cover;
    }
    .icon_html {
      background: url(../images/icon-html.jpg) no-repeat center/cover;
    }
    .icon-bootstrap {
      background: url(../images/icon-bootstrap.jpg) no-repeat center/cover;
    }
    .icon_gulp {
      background: url(../images/icon-gulp.png) no-repeat center/cover;
    }
    .icon_less {
      background: url(../images/icon-less.jpg) no-repeat center/cover;
    }
    .icon_Git {
      background: url(../images/icon-git.jpg) no-repeat center/cover;
    }
    .icon_SVN {
      background: url(../images/icon-svn.jpeg) no-repeat center/cover;
    }
  }
  .section3 {
    background-color: #03a9f4;
    padding: 50px 0;
    h3.tittle {
      text-transform: uppercase;
      text-align: center;
      margin-bottom: 35px;
      color: #fff;
    }
    .container {
      padding: 50px 100px;
      >div {
        overflow: hidden;
        padding: 0;
        a {
          .trsall(all,1s);
        }
        .top {
          position: relative;
          width: 100%;
          height: 230px;
          overflow: hidden;
          a {
            display: block;
            width: 100%;
            height: 100%;
            &.active {
              transform: scale(1.2);
            }
            img {
              width: 100%;
              height: 100%;
            }
          }
          .mask {
            opacity: 0;
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, .4);
            transform-style: preserve-3d;
            perspective: 700px;
            h5 {
              color: #fff;
              text-align: center;
              margin-top: 150px;
            }
            &:hover {
              a {
                .trsall(all,1s);
                transform: translate(-50%,-50%) rotateY(180deg );
              }
            }
            a {
              position: absolute;
              width: 40px;
              height: 40px;
              text-align: center;
              left: 50%;
              top: 50%;
              transform: translate(-50%,-50%);
              background-color: #fff;
              span {
                line-height: 40px;
                color: #666;
                font-size: 20px;
                .trsall(all,.5s);
              }
              &:hover {
                span {
                  color: #03a9f4;
                }
              }
            }
          }
        }
      }
    }
  }
  .section4 {
    padding: 50px 0;
    background-color: #FDFFDF;
    h3.tittle {
      text-align: center;
      margin-bottom: 35px;
      color: #10A7AF;
    }
    p.exp_info {
      color: #464646;
      line-height: 2.2em;
      text-align: center;
      font-size: 14px;
      width: 75%;
    }
    .exp_left {
      height: 220px;
      border-bottom: 1px solid #B1B1B1;
      h4 {
        text-align: right;
        color: #000;
        font-style: italic;
      }
    }
    .exp_right {
      border: 1px solid #B1B1B1;
      border-right: none;
      height: 220px;
      border-top: none;
      h5 {
        color: #10A7AF;
        text-transform: uppercase;
        span {
          color: #fff;
          background: #b1b1b1;
          font-size: 14px;
        }
      }
      p {
        color: #464646;
        line-height: 2.2em;
        font-size: 14px;
      }
    }
    .exp_left2 {
      border: none;
      border-bottom: 1px solid #B1B1B1;
      height: 220px;
      h5 {
        text-align: right;
        color: #10A7AF;
        text-transform: uppercase;
        span {
          color: #fff;
          background: #b1b1b1;
          font-size: 14px;
        }
      }
      p {
        color: #464646;
        line-height: 2.2em;
        font-size: 14px;
        text-align: right;
      }
    }
    .exp_right2 {
      border-left: 1px solid #B1B1B1;
      height: 220px;
      border-bottom: 1px solid #B1B1B1;
      h4 {
        color: #000;
        font-style: italic;
      }
    }
  }
  .section5 {
    padding: 50px 0;
    background: #03a9f4;
    h3.tittle {
      text-align: center;
      margin-bottom: 35px;
      color: #fff;
    }
    .section-title {
      text-align: center;
      margin-bottom: 30px;
      p {
        font-size: 17px;
        color: #333;
        line-height: 27px;
      }
    }
    .row {
      .contact-left {
        margin-bottom: 30px;
        .con-info {
          background: #fff;
          padding: 20px;
          box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
          li {
            margin-bottom: 20px;
            i {
              font-size: 21px;
              margin-bottom: 10px;
            }
            span {
              display: block;
              text-transform: uppercase;
              font-weight: 700;
              font-size: 12px;
            }
            p {
              font-size: 17px;
              color: #888;
              line-height: 27px;
            }
          }
        }
      }
      .contact-right {
        position: relative;
        #contact-form {
          input {
            display: block;
            min-width: 100%;
            margin-bottom: 30px;
            height: 55px;
            padding: 7px 10px;
            background: #fff;
            border: none;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
          }
          .send-btn-div {
            position: relative;
            line-height: 0;
            textarea {
              min-width: 100%;
              height: 155px;
              padding: 10px;
              background: #fff;
              box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
              padding-right: 80px;
              border: none;
              line-height: initial;
            }
            .send-btn {
              position: absolute;
              right: 0;
              top: 0;
              height: 100%;
              width: 80px;
              background: #333;
              border: none;
              font-size: 30px;
              box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
              color: #fff;
              -webkit-transition: all 0.5s;
              transition: all 0.5s;
              box-shadow: inset 0 0 15px 5px #333;
            }
          }
        }
      }
    }
  }
}

#particles-js {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}


@media (min-width: 768px) {
  .header {
    .navbar {
      .container {
        padding-top: 15px;
        padding-bottom: 15px;
        .navbar-collapse {
          -webkit-box-shadow: none;
          box-shadow: none;
          .navbar-nav>li {
            margin: 0 10px;
            font-size: 16px;
          }
          .navbar-nav>li.active>a {
            background-color: transparent;
          }
          .navbar-nav>li.active>a:after {
            transform: translateX(-50%) scaleX(1);
          }
          .navbar-nav>li>a:after {
            content: '';
            position: absolute;
            width: 90%;
            height: 2px;
            left: 50%;
            bottom: 0;
            background-color: orangered;
            .trsall(all,.5s);
            transform: translateX(-50%) scaleX(0);
          }
        }
      }
    }
  }
  .main {
    .section1 {
      .container {
        .pic {
          width: 100%;
          height: 200px;
          text-align: center;
          img {
            height: 100%;
          }
        }
        .txt {
          padding-top: 50px;
          h3 {
            width: 100%;
            font-size: 50px;
            line-height: 50px;
          }
        }
        .info {
          padding-top: 40px;
        }
      }
    }
    .section2 {}
    .section3 {
      background-color: #03a9f4;
      h3.tittle:after, h3.tittle:before {
        border-color: #f5f5f5;
      }
    }
    .section4 {
      h3.tittle:after, h3.tittle:before {
        border: 4px double #c2c2c2;
        width: 120px;
        display: inline-block;
        content: "";
        margin: 3px 10px;
      }
      p.exp_info {
        margin: 0 auto 50px;
      }
      .exp_left {
        padding: 53px 35px 0px 0px;
        h4 {
          font-size: 86px;
        }
      }
      .exp_right {
        padding: 42px 35px 0px 0px;
        h5 {
          font-size: 22px;
          margin-bottom: 20px;
          span {
            padding: 10px 10px;
            margin-right: 30px;
          }
        }
        p {
          padding-left: 4.8em;
        }
      }
      .exp_left2 {
        padding: 42px 0px 0px 35px;
        h5 {
          font-size: 22px;
          margin-bottom: 20px;
          span {
            padding: 10px 10px;
            margin-left: 30px;
          }
        }
        p {
          padding-right: 4.8em;
        }
      }
      .exp_right2 {
        padding: 53px 0px 0px 35px;
        h4 {
          font-size: 86px;
        }
      }
    }
    .section5 {
      h3.tittle:after, h3.tittle:before {
        border-color: #f5f5f5;
      }
    }
    h3.tittle:after, h3.tittle:before {
      border: 4px double #c2c2c2;
      width: 120px;
      display: inline-block;
      content: "";
      margin: 3px 10px;
    }
  }
}
@media (max-width: 767px) {
  .main {
    .section1 {
      .container {
        .pic {
          width: 100%;
          height: 200px;
          text-align: center;
          img {
            height: 100%;
          }
        }
        .txt {
          margin-top: 20px;
          h3 {
            font-size: 30px !important;
            text-align: center;
          }
        }
        .info {
          padding-top: 20px;
        }
      }
    }
    .section2 {
    }
    .section4 {
      h3.tittle {
        font-size: 24px;
      }
      p.exp_info {
        width: 100%;
        margin: 0 auto 20px;
      }
      .exp_left {
        padding: 40px 10px 0px 0px;
        h4 {
          font-size: 50px;
        }
      }
      .exp_right {
        padding: 30px 0px 0px 0px;
        h5 {
          font-size: 18px;
          margin-bottom: 10px;
          span {
            padding: 8px 8px;
            margin-right: 10px;
          }
        }
        p {
          padding-left: 2.8em;
        }
      }
      .exp_left2 {
        padding: 30px 0px 0px 10px;
        h5 {
          font-size: 18px;
          margin-bottom: 10px;
          span {
            padding: 8px 8px;
            margin-left: 10px;
          }
        }
        p {
          padding-right: 2.8em;
        }
      }
      .exp_right2 {
        padding: 40px 0px 0px 0px;
        h4 {
          font-size: 50px;
        }
      }
    }
    .section3 {
      background-color: #03a9f4;
      .container {
        padding: 20px 30px !important;
        .top {
          width: 256px !important;
          margin: 5px auto;
        }
      }
    }
    .section5 {
    }
  }
}





